/*瀑布流开始*/
var container = $('.waterfull ul');
var loading=$('#imloading');
// 初始化loading状态
loading.data("on",true);
/*判断瀑布流最大布局宽度，最大为1280*/
function tores(){
    var tmpWid=$(window).width();
    if(tmpWid>1280){
        tmpWid=1280;
    }else{
        var column=Math.floor(tmpWid/320);
        tmpWid=column*320;
    }
    $('.waterfull').width(tmpWid);
}
tores();
$(window).resize(function(){
    tores();
});